<!DOCTYPE html>
<!--
 *  创建时间: 2020-12-14-21:47
 *  作   者: lpc
 *  Email : lpc@hll520.cn
-->
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，作用是自适应布局 -->
    <meta content="WTU,武汉纺织大学" name="description">
    <meta content="冷朴承" name="author">
    <title>用户登录</title>
    <!-- JQuery -->
    <script type="text/javascript" src="http://wtushop.hll520.cn:8080/static/js/jquery.min.js"></script>
    <!-- Bootstrap核心CSS和JS -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="Util.js"></script>
    <!-- 登录页样式 -->
    <link href="https://v3.bootcss.com/examples/signin/signin.css" rel="stylesheet">
    <link rel="icon" type="image/png" href="https://www.wtu.edu.cn/images/favicon.ico">
    <!-- JS -->
    <script type="text/javascript">
        function login() {
            let id = $("#id").val();
            let name = $("#name").val();
            let remember = $("#remember").is(":checked");
            // 检验
            doLogin(id, name, remember);
        }
    </script>
</head>
<body>
<div class="form-signin">
    <h2 class="form-signin-heading">用户登录</h2>
    <label for="id" class="sr-only">学 号</label>
    <input type="text" id="id" name="id" class="form-control" placeholder="请输入学号" required autofocus>
    <p></p>
    <label for="name" class="sr-only">姓 名</label>
    <input type="text" id="name" name="name" class="form-control" placeholder="请输入姓名" required>
    <p></p>
    <div class="checkbox">
        <label><input type="checkbox" value="remember-me" id="remember"> 记住我</label>
    </div>
    <p></p>

    <button class="btn btn-lg btn-primary btn-block" onclick="login()">登 录</button>
</div>

</body>
</html>